package com.ship.dispatch.bean.HomePage;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ship.common.core.mapping.Label;
import lombok.Data;

import java.util.Date;

/**
 * 首页上一航次，船运合同相关信息
 */
@Data
@TableName("con_shipping")
public class ConHomePageArrageCon {

    /**
     * id
     */
    private Long id;

    /**
     * imo
     */
    private String imo;

    /**
     * 船舶名称
     */
    private String shipName;

    /**
     *还船日期-开始
     */
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm")
    private Date redeliveryDateBegin;

    /**
     *还船日期-结束
     */
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm")
    private Date redeliveryDateEnd;

    /**
     * 交船日期-结束
     */
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm")
    private Date deliveryDateEnd;

    /**
     * 交船日期-开始
     */
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm")
    private Date deliveryDateBegin;

    /**
     * off-hire
     */
    private String hireTimeValue;
}
